package com.mall.implementation;

import java.io.Serializable;
import java.util.ArrayList;

import com.mall.core.Item;
import com.mall.util.StringWrapper;

public class CriteriaImpl implements Serializable{
/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
private double yearlyincome;
private int numberofstore_req;
private ArrayList<StringWrapper> banneditems;
public double getYearlyincome() {
	return yearlyincome;
}
public void setYearlyincome(double yearlyincome) {
	this.yearlyincome = yearlyincome;
}
public int getNumberofstore_req() {
	return numberofstore_req;
}
public void setNumberofstore_req(int numberofstore_req) {
	this.numberofstore_req = numberofstore_req;
}
public ArrayList<StringWrapper> getBanneditems() {
	return this.banneditems;
}
public void setBanneditems(ArrayList<StringWrapper> banneditems) {
	this.banneditems = banneditems;
}
public static void  main(String[] args){
	ArrayList<StringWrapper> banneditems = new ArrayList<StringWrapper>();
	banneditems.add(new StringWrapper("perishable items"));
	CriteriaImpl criteria  = new CriteriaImpl();
	criteria.setBanneditems(banneditems);
	criteria.setNumberofstore_req(1);
	criteria.setYearlyincome(100000);
	
	for(StringWrapper banneditem : criteria.getBanneditems()){
		System.out.println(banneditem.getNOTModifiedString());
	}
}
}